//#include "Couple.h"
//#include "PersonList.h"
#include "Dating.h"



int main( void )
{

	Dating dating;

	dating.girls.ReadFromFile( "girls.txt" );
	dating.boys.ReadFromFile( "boys.txt" );


	dating.InputMatches();

	dating.MatchPersons();

	dating.couples.Sort();

	if( dating.couples.Size() != 0 )
	{
		for( auto couple : dating.couples )
			cout << couple.info;
	}
	else
		cout << "No matches found" << endl;
	

	cin.get();
	cin.get();
	return 0;
}

